<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>  
<%
	response.setHeader("Pragma", "No-cache");
	response.setHeader("Cache-Control", "no-cache");
	response.setDateHeader("Expires", 0);
	response.setContentType("text/html;charset=UTF-8");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    
    <title>新增员工</title>
    
  </head>
  
  <body>
	<form action="updateEmployee" method="post">
		<table>
			<tr>
				<td>卡号:</td>
				<td><input type="text" name="employee.userName" value="<s:property value='employee.userCarnum'/>" readonly="readonly"/></td>
			</tr>
			<tr>
				<td>姓名:</td>
				<td><input type="text" name="employee.userName" value="<s:property value='employee.userName'/>"/></td>
			</tr>
			<tr>
				<td>密码:</td>
				<td><input type="password" id="password" name="employee.userPassword" value="<s:property value='employee.userPassword'/>"/></td>
			</tr>
			<tr>
				<td>确认密码:</td>
				<td><input type="password" id="repeatpwd"/></td>
			</tr>
			<tr>
				<td>性别:</td>
				<td>
					男<input type="radio" name="employee.userSex" value="男"/>
					女<input type="radio" name="employee.userSex" value="女"/>
				</td>
			</tr>
			<tr>
				<td>学历:</td>
				<td>
					<select name="employee.userEducation">
						<option value="高中">高中</option>
						<option value="大学">大学</option>
						<option value="研究生">研究生</option>
						<option value="博士生">博士生</option>
					</select>
				</td>
			</tr>
			<tr>
				<td>部门:</td>
				<td><input type="text" value="<s:property value='employee.position.positionName'/>" readonly="readonly"/></td>
			</tr>
			<tr>
				<td>出生日期:</td>
				<td><input type="text" name="employee.userBirthday"/></td>
			</tr>
			<tr>
				<td>手机号码:</td>
				<td><input type="text" name="employee.userPhone"/></td>
			</tr>
			<tr>
				<td>家庭住址:</td>
				<td><input type="text" name="employee.userAddress"/></td>
			</tr>
			<tr>
				<td colspan="2">
					<input type="submit" value="更新信息"/>
					<input type="reset" value="重置"/>
				</td>
			</tr>
		</table>
	</form>
  </body>
</html>
